package Function;

public class Function1 extends Function{
	public Function1(){
		// x e [0,1]
		xmin = 0;
		xmax = 1;
	}
	
	public double evaluate(double[] parameters) {
		// f(x) = x + |sen(32pi x)|
		return parameters[0] + Math.abs(Math.sin(32*Math.PI*parameters[0]));
	}
}
